gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
authorMatthias Clasen <mclasen@redhat.com>
Sun, 19 Aug 2018 01:21:46 +0000 (01:21 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 19 Aug 2018 01:26:20 +0000 (01:26 +0000)
commit081b45399ffbc011103159401ee619bd8e6e7741
tree4b40c3b8182a364745d8bbb5028f0dafed8e77ca
parent0874a5470856806031853352ee988ba87ad3f107
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls

These may not result on wl_surface.frame callbacks, yet we do trigger
a frame clock tick that would get stuck on the lack of such callback.

https://bugzilla.gnome.org/show_bug.cgi?id=784314
https://gitlab.gnome.org/GNOME/gtk/issues/844

Closes: #844
gdk/wayland/gdksurface-wayland.c